FROM node:16-bullseye

WORKDIR /data/work

COPY . ./

RUN npm install
RUN npm run build

ENTRYPOINT [ "node", "dist/bin/genieacs-fs" ]